!function(window) {
	
	var document = window.document,
		$ = window.__jipin_$;
	
	window.__jipin_getSitePicDesc = function(targetPic) {
		var picDesc = {'title' : $(targetPic).attr('title') || '', 'price' : ''};
		
		try {
	    	if($('#J_FrmBid').length && $('#J_itemViewed').length && $('#J_itemViewed').data('value')) {
	    		picDesc.title = $('#J_itemViewed').data('value').title;
	    		
	    		var price = $('#J_SpanLimitProm').text() || $('#Li_promo .tb-lowest .tb-price').text() || $('#J_PromoPrice strong').text() || $('#J_StrPrice').text() || form.children('input[name="current_price"]').val();
	    		picDesc.price = $.trim(price).split(' ')[0];
	    	}
	    } catch(e) {}
    	return picDesc;
	}
	
	window.__jipin_sitedata = window.__jipin_getSitePicDesc();

}(window);
